<script lang="ts">
    import { pop } from "svelte-spa-router";
    export let params;
</script>

<div class="text-center h-full my-10">
    <h1>此页为栏目详情页</h1>

    <p>路由参数：{params.id }</p>
    <button on:click={()=>pop()} class="bg-blue-500 text-white px-4 py-2 rounded-md">栏目(pop)</button>
</div>